<!DOCTYPE html>
<html>
<head>
    <title></title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
        <Row :gutter="16">
            <i-col span="4">
                <i-input v-model="q.name" @on-enter="query" placeholder="鍚嶇О"/>
            </i-col>
            <i-button @click="query">鏌ヨ</i-button>
			#if($shiro.hasPermission("wxreplytxt:save"))
            <i-button type="info" @click="add"><i class="fa fa-plus"></i>&nbsp;鏂板</i-button>
			#end
			#if($shiro.hasPermission("wxreplytxt:update"))
            <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;淇敼</i-button>
			#end
			#if($shiro.hasPermission("wxreplytxt:delete"))
            <i-button type="error" @click="del"><i class="fa fa-trash-o"></i>&nbsp;鍒犻櫎</i-button>
			#end
        </Row>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>

    <Card v-show="!showList">
        <p slot="title">{{title}}</p>
		<i-form ref="formValidate" :model="wxReplyTxt" :rules="ruleValidate" :label-width="80">
            <Form-item label="鏍囬" prop="title">
                <i-input v-model="wxReplyTxt.title" placeholder="鏍囬"/>
            </Form-item>
            <Form-item label="鍐呭" prop="content">
                <i-input v-model="wxReplyTxt.content" placeholder="鍐呭"/>
            </Form-item>
            <Form-item label="鎿嶄綔浜�" prop="opby">
                <i-input v-model="wxReplyTxt.opby" placeholder="鎿嶄綔浜�"/>
            </Form-item>
            <Form-item label="鎿嶄綔鏃堕棿" prop="opat">
                <i-input v-model="wxReplyTxt.opat" placeholder="鎿嶄綔鏃堕棿"/>
            </Form-item>
            <Form-item label="鍒犻櫎鏍囪" prop="delflag">
                <i-input v-model="wxReplyTxt.delflag" placeholder="鍒犻櫎鏍囪"/>
            </Form-item>
            <Form-item>
                <i-button type="primary" @click="handleSubmit('formValidate')">鎻愪氦</i-button>
                <i-button type="warning" @click="reload" style="margin-left: 8px"/>杩斿洖</i-button>
                <i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">閲嶇疆</i-button>
            </Form-item>
        </i-form>
	</Card>
</div>

<script src="${rc.contextPath}/js/wx/wxreplytxt.js?_${date.systemTime}"></script>
</body>
</html>